﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.ColorSelect, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "ScriptType"))

	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.ColorSelect, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "Function"))

	_DB:AddCodeHelp("SetColorValueTexture", [=[Sets the `Texture` object used to display the color picker's value slider]=], [=[SetColorValueTexture(texture)]=])
	_DB:AddCodeHelp("SetColorRGB", [=[Sets the color picker's selected color by red, green and blue components]=], [=[SetColorRGB(red, blue, green)]=])
	_DB:AddCodeHelp("SetColorWheelTexture", [=[Sets the `Texture` object used to display the color picker's hue/saturation wheel]=], [=[SetColorWheelTexture(texture)]=])
	_DB:AddCodeHelp("GetColorValueTexture", [=[Returns the texture for the color picker's value slider background]=], [=[GetColorValueTexture()]=])
	_DB:AddCodeHelp("GetColorRGB", [=[Returns the red, green and blue components of the currently selected color]=], [=[GetColorRGB()]=])
	_DB:AddCodeHelp("GetColorWheelThumbTexture", [=[Returns the texture for the selection indicator on the color picker's hue/saturation wheel]=], [=[GetColorWheelThumbTexture()]=])
	_DB:AddCodeHelp("GetColorWheelTexture", [=[Returns the texture for the color picker's hue/saturation wheel]=], [=[GetColorWheelTexture()]=])
	_DB:AddCodeHelp("GetColorHSV", [=[Returns the hue, saturation and value of the currently selected color]=], [=[GetColorHSV()]=])
	_DB:AddCodeHelp("SetColorValueThumbTexture", [=[Sets the texture for the color picker's value slider thumb]=], [=[SetColorValueThumbTexture("filename")]=])
	_DB:AddCodeHelp("SetColorWheelThumbTexture", [=[Sets the texture for the selection indicator on the color picker's hue/saturation wheel]=], [=[SetColorWheelThumbTexture("filename")]=])
	_DB:AddCodeHelp("GetColorValueThumbTexture", [=[Returns the texture for the color picker's value slider thumb]=], [=[GetColorValueThumbTexture()]=])
	_DB:AddCodeHelp("SetColorHSV", [=[Sets the color picker's selected color by hue, saturation and value]=], [=[SetColorHSV(hue, saturation, value)]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.ColorSelect, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "Property"))

end
